#COMPILE DLL "..\..\Make\Fonts\en-US\Fonts.dll"
#RESOURCE "resResources.pbr"
#DIM ALL

DECLARE FUNCTION LoadStringTable (BYVAL lpID AS LONG) AS STRING

FUNCTION LIBMAIN (BYVAL hInstance   AS LONG, _
                  BYVAL fwdReason   AS LONG, _
                  BYVAL lpvReserved AS LONG) AS LONG
    ON ERROR RESUME NEXT
    FUNCTION = 1
END FUNCTION

FUNCTION LoadStringTable ALIAS "LoadStringTable" (BYVAL lpID AS LONG) EXPORT AS STRING
    ON ERROR RESUME NEXT
    SELECT CASE lpID
        CASE 16
            FUNCTION = "Error"
        CASE 101
            FUNCTION = "Expression Calculator V2.1 (International)"
        CASE 102
            FUNCTION = "Programs(&P)"
        CASE 103
            FUNCTION = "Clear Screen(&L)"
        CASE 104
            FUNCTION = "Exit(&E)"
        CASE 105
            FUNCTION = "Settings(&S)"
        CASE 106
            FUNCTION = "Trigonometric Functions(&I)"
        CASE 107
            FUNCTION = "for Degrees"
        CASE 108
            FUNCTION = "for Radians"
        CASE 109
            FUNCTION = "Decimal Precision(&R)"
        CASE 110
            FUNCTION = "None"
        CASE 111
            FUNCTION = "Fonts(&N)"
        CASE 112
            FUNCTION = "Top Most(&M)"
        CASE 113
            FUNCTION = "Help(&H)"
        CASE 114
            FUNCTION = "About(&A)"
        CASE 115
            FUNCTION = "Constants(&G)"
        CASE 116
            FUNCTION = "Draw Graph(&G)"
        CASE 117
            FUNCTION = "Log Base(&L)"
        CASE 118
            FUNCTION = "Load from Clipboard"
        CASE 119
            FUNCTION = "Save All to Clipboard"
        CASE 120
            FUNCTION = "Quadratic Equation(&I)"
        CASE 121
            FUNCTION = "Units Conversion(&S)"
        CASE 122
            FUNCTION = "Plug-Ins(&I)"
        CASE 123
            FUNCTION = "None"
        CASE 124
            FUNCTION = "Path not found!"
        CASE 125
            FUNCTION = "Invalid Add-In Item!"
        CASE 126
            FUNCTION = "'^' means 'XOR'"
        CASE 127
            FUNCTION = "Special(&S)"
        CASE 201
            FUNCTION = "Syntax Error!"
        CASE 202
            FUNCTION = "Running Error!"
        CASE 203
            FUNCTION = "Constants declare file was not exist!"
        CASE 204
            FUNCTION = "Please input log base:"
        CASE 205
            FUNCTION = "Input"
        CASE 206
            FUNCTION = "LOG base is too small."
        CASE 207
            FUNCTION = "Invalid log base!"
        CASE 301
            FUNCTION = "About"
        CASE 302
            FUNCTION = "Expression Calculator V2.1"
        CASE 303
            FUNCTION = "A powerful and creative calculator."
        CASE 304
            FUNCTION = "(C) 2008 - 2011 XiaoJSoft Studio."
        CASE 305
            FUNCTION = "OK(&O)"
        CASE 306
            FUNCTION = "Contributors(&C)"
        CASE 401
            FUNCTION = "Function Expression"
        CASE 402
            FUNCTION = "Expression"
        CASE 403
            FUNCTION = "Draw(&D)"
        CASE 404
            FUNCTION = "Cancel(&C)"
        CASE 405
            FUNCTION = "Clear(&R)"
        CASE 406
            FUNCTION = "Standby!"
        CASE 407
            FUNCTION = "Drawing..."
        CASE 408
            FUNCTION = "Color"
        CASE 409
            FUNCTION = "R:"
        CASE 410
            FUNCTION = "G:"
        CASE 411
            FUNCTION = "B:"
        CASE 412
            FUNCTION = "Preview:"
        CASE 413
            FUNCTION = "Random(&M)"
        CASE 414
            FUNCTION = "Settings"
        CASE 415
            FUNCTION = "Calibration:"
        CASE 416
            FUNCTION = "20"
        CASE 417
            FUNCTION = "30"
        CASE 418
            FUNCTION = "40"
        CASE 419
            FUNCTION = "60"
        CASE 420
            FUNCTION = "Enabled"
        CASE 421
            FUNCTION = "Features:"
        CASE 422
            FUNCTION = "Auto Random"
        CASE 423
            FUNCTION = "Jump Zero(0)"
        CASE 424
            FUNCTION = "Bold"
        CASE 425
            FUNCTION = "="
        CASE 426
            FUNCTION = "Y"
        CASE 427
            FUNCTION = "X"
        CASE 428
            FUNCTION = "Drawing Error!"
        CASE 501
            FUNCTION = "The general form of Quadratic Equation is:"
        CASE 502
            FUNCTION = "ax^2+bx+c=0"
        CASE 503
            FUNCTION = "a="
        CASE 504
            FUNCTION = "b="
        CASE 505
            FUNCTION = "c="
        CASE 506
            FUNCTION = "Result:"
        CASE 507
            FUNCTION = "X1="
        CASE 508
            FUNCTION = "0"
        CASE 509
            FUNCTION = "X2="
        CASE 510
            FUNCTION = "0"
        CASE 511
            FUNCTION = "Data (A, B, C must be a valid formula)"
        CASE 512
            FUNCTION = "Calculate(&C)"
        CASE 513
            FUNCTION = "Cancel(&X)"
        CASE 514
            FUNCTION = "Quadratic Equation"
        CASE 515
            FUNCTION = "Invalid value 'A'."
        CASE 516
            FUNCTION = "Invalid value 'B'."
        CASE 517
            FUNCTION = "Invalid value 'C'."
        CASE 518
            FUNCTION = "No Result"
        CASE 600
            FUNCTION = "Kilopascal (kPa)"
        CASE 601
            FUNCTION = "Hectopascal (hPa)"
        CASE 602
            FUNCTION = "Pascal (Pa=N/m^2)"
        CASE 603
            FUNCTION = "Bar"
        CASE 604
            FUNCTION = "Millibar (mBar)"
        CASE 605
            FUNCTION = "Atmosphere (Atm)"
        CASE 606
            FUNCTION = "mmHg (Torr)"
        CASE 607
            FUNCTION = "Inch Hg (in Hg)"
        CASE 608
            FUNCTION = "Lbf/Inch^2 (lbf/in2=PSI)"
        CASE 609
            FUNCTION = "Lbf/ft^2 (lbf/ft2)"
        CASE 610
            FUNCTION = "Kg/cm^2 (kgf/cm^2)"
        CASE 611
            FUNCTION = "Kg/m^2 (kgf/m^2)"
        CASE 612
            FUNCTION = "mmH2O (mmH2O)"
        CASE 613
            FUNCTION = "Kilometer (km)"
        CASE 614
            FUNCTION = "Meter (m)"
        CASE 615
            FUNCTION = "Decimeter (dm)"
        CASE 616
            FUNCTION = "Centimeter (cm)"
        CASE 617
            FUNCTION = "Millimeter (mm)"
        CASE 618
            FUNCTION = "Micronmeter (nm)"
        CASE 619
            FUNCTION = "(CN) Limeter (li)"
        CASE 620
            FUNCTION = "(CN) Zhangmeter (zhang)"
        CASE 621
            FUNCTION = "(CN) Chimeter (chi)"
        CASE 622
            FUNCTION = "(CN) Cunmeter (cun)"
        CASE 623
            FUNCTION = "(CN) Fenmeter (fen)"
        CASE 624
            FUNCTION = "(CN) mmLimeter (mmli)"
        CASE 625
            FUNCTION = "Feet (ft)"
        CASE 626
            FUNCTION = "Miles (mi)"
        CASE 627
            FUNCTION = "Furlong (fur)"
        CASE 628
            FUNCTION = "Yard (yd)"
        CASE 629
            FUNCTION = "Inch (in)"
        CASE 630
            FUNCTION = "Nautical mile (nmi)"
        CASE 631
            FUNCTION = "Nautical fathom"
        CASE 632
            FUNCTION = "Cubicmeter (m^3)"
        CASE 633
            FUNCTION = "Hectoliter (hL)"
        CASE 634
            FUNCTION = "Dekaliter (daL)"
        CASE 635
            FUNCTION = "Liter (dm^3/L)"
        CASE 636
            FUNCTION = "Deciliter (dL)"
        CASE 637
            FUNCTION = "Centiliter (cL)"
        CASE 638
            FUNCTION = "Milliliter (mL)"
        CASE 639
            FUNCTION = "Cubicmillimeter (mm^3)"
        CASE 640
            FUNCTION = "Table spoon"
        CASE 641
            FUNCTION = "Tea spoon"
        CASE 642
            FUNCTION = "(US) Cubic inch"
        CASE 643
            FUNCTION = "(US) Acre foot"
        CASE 644
            FUNCTION = "(US) Cubic yard"
        CASE 645
            FUNCTION = "(US) Cubic foot"
        CASE 646
            FUNCTION = "(US) Gallon"
        CASE 647
            FUNCTION = "(US) Barrel"
        CASE 648
            FUNCTION = "(US) Quart"
        CASE 649
            FUNCTION = "(US) Pint"
        CASE 650
            FUNCTION = "(US) Gill"
        CASE 651
            FUNCTION = "(US) Fluid ounce"
        CASE 652
            FUNCTION = "(US) Fluid dram"
        CASE 653
            FUNCTION = "(US) Minim"
        CASE 654
            FUNCTION = "(USA) Barrel"
        CASE 655
            FUNCTION = "(USA) Bushel"
        CASE 656
            FUNCTION = "(USA) Peck"
        CASE 657
            FUNCTION = "(USA) Quart"
        CASE 658
            FUNCTION = "(USA) Pint"
        CASE 659
            FUNCTION = "(USA) Cup"
        CASE 660
            FUNCTION = "(USA) Table spoon"
        CASE 661
            FUNCTION = "(USA) Tea spoon"
        CASE 662
            FUNCTION = "(BRI) Gallon"
        CASE 663
            FUNCTION = "(BRI) Barrel"
        CASE 664
            FUNCTION = "(BRI) Bushel"
        CASE 665
            FUNCTION = "(BRI) Pint"
        CASE 666
            FUNCTION = "(BRI) Fluid_ounce"
        CASE 667
            FUNCTION = "Joule (J)"
        CASE 668
            FUNCTION = "Kg.m"
        CASE 669
            FUNCTION = "PS.h"
        CASE 670
            FUNCTION = "HP.h"
        CASE 671
            FUNCTION = "Kw.h"
        CASE 672
            FUNCTION = "Kcal"
        CASE 673
            FUNCTION = "Btu"
        CASE 674
            FUNCTION = "Ft.lb"
        CASE 675
            FUNCTION = "Kilometer^2 (km^2)"
        CASE 676
            FUNCTION = "Hectare (ha)"
        CASE 677
            FUNCTION = "Meter^2 (m^2)"
        CASE 678
            FUNCTION = "(CN) Mu"
        CASE 679
            FUNCTION = "Decimeter^2 (dm^2)"
        CASE 680
            FUNCTION = "Centimeter^2 (cm^2)"
        CASE 681
            FUNCTION = "Millimeter^2 (mm^2)"
        CASE 682
            FUNCTION = "(ENG) Square feet (sq ft)"
        CASE 683
            FUNCTION = "(ENG) Square yard (sq yd)"
        CASE 684
            FUNCTION = "(US) Square rod (sq rd)"
        CASE 685
            FUNCTION = "(ENG) Square acre"
        CASE 686
            FUNCTION = "(ENG) Square mile (mi)"
        CASE 687
            FUNCTION = "(ENG) Square Inch (in)"
        CASE 688
            FUNCTION = "Ton (t)"
        CASE 689
            FUNCTION = "Kilogram (kg)"
        CASE 690
            FUNCTION = "Gram (g)"
        CASE 691
            FUNCTION = "Milligram (mg)"
        CASE 692
            FUNCTION = "(CN) Jin"
        CASE 693
            FUNCTION = "(CN) Dan"
        CASE 694
            FUNCTION = "(CN) Liang"
        CASE 695
            FUNCTION = "(CN) Qian"
        CASE 696
            FUNCTION = "Pound (lb)"
        CASE 697
            FUNCTION = "(BRI) Ton"
        CASE 698
            FUNCTION = "(US) Ton"
        CASE 699
            FUNCTION = "(BRI) CWT"
        CASE 700
            FUNCTION = "(US) CWT)"
        CASE 701
            FUNCTION = "(BRI) Stone"
        CASE 702
            FUNCTION = "Ounce (oz)"
        CASE 703
            FUNCTION = "Dram (dr)"
        CASE 704
            FUNCTION = "Grain"
        CASE 705
            FUNCTION = "(TROY) Pound (lbt)"
        CASE 706
            FUNCTION = "(TROY) Ounce(ozt)"
        CASE 707
            FUNCTION = "(TROY) DWT"
        CASE 708
            FUNCTION = "(TROY) Grain"
        CASE 709
            FUNCTION = "Watt (w)"
        CASE 710
            FUNCTION = "Kilowatt (kw)"
        CASE 711
            FUNCTION = "Horsepower (HP)"
        CASE 712
            FUNCTION = "Horsepower (PS)"
        CASE 713
            FUNCTION = "kg.m/s (kgms)"
        CASE 714
            FUNCTION = "kcal/s (kcals)"
        CASE 715
            FUNCTION = "Btu/s (btus)"
        CASE 716
            FUNCTION = "Ft.lb/s (ftlbs)"
        CASE 717
            FUNCTION = "Joule/s (js)"
        CASE 718
            FUNCTION = "N.m/s (nms)"
        CASE 719
            FUNCTION = "Pressure"
        CASE 720
            FUNCTION = "Length"
        CASE 721
            FUNCTION = "Volume"
        CASE 722
            FUNCTION = "Heat"
        CASE 723
            FUNCTION = "Area"
        CASE 724
            FUNCTION = "Weight"
        CASE 725
            FUNCTION = "Power"
        CASE 726
            FUNCTION = "[Invalid]"
        CASE 727
            FUNCTION = "Units Conversion"
        CASE 728
            FUNCTION = "Type:"
        CASE 729
            FUNCTION = "From:"
        CASE 730
            FUNCTION = "To:"
        CASE 731
            FUNCTION = "Convert(&T)"
        CASE 732
            FUNCTION = "Cancel(&C)"
        CASE 801
            FUNCTION = "Contributors"
        CASE 802
            FUNCTION = "OK(&O)"
    END SELECT
END FUNCTION
